package org.example.judge_contest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.example.judge_pojo.Contest;

public interface ContestMapper extends BaseMapper<Contest> {
    @Select("select max(code) from tb_contest")
    String getMaxCode();
}
